package com.landtool.lanbase.netty;

import io.netty.channel.group.ChannelGroup;
import io.netty.channel.group.DefaultChannelGroup;
import io.netty.util.concurrent.GlobalEventExecutor;

/**
 * Netty链接的用户
 */
public class GlobalUtil {
    /**
     * 保存全局的前段连接上服务器的客户
     */
    public static ChannelGroup channels = new DefaultChannelGroup(GlobalEventExecutor.INSTANCE);

    public static ChannelGroup channels2 = new DefaultChannelGroup(GlobalEventExecutor.INSTANCE);

}
